<?php

class salariiComponents extends sfComponents
{
    /**
     * Listarea salariiilor
     */
    public function executeList(sfWebRequest $request)
    {
        $this->salarii = array();
    }

    /**
     * Inregistrarea unui salariu
     */
    public function executeAdd(sfWebRequest $request)
    {
        $this->form = new SalariuForm();
        $this->form->request = $this->moduleName . '/xAdd';
    }


}
